package com.xydtech.ecard.flow.domain;

import com.xydtech.common.core.domain.BaseEntity;
import com.xydtech.workflow.domain.WflApprauthor;
import com.xydtech.workflow.domain.WflSteppage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 流程节点实例信息
 * @author Daniel
 * @date 2022/2/17 15:18
 */
@Data
public class FlowInstanceInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "流程ID")
    private Long flowId;

    @ApiModelProperty(notes = "流程版本ID")
    private Long versionId;

    @ApiModelProperty(notes = "流程实例ID")
    private String instanceId;

    @ApiModelProperty(notes = "实例关键信息")
    private String keyInfo;

    @ApiModelProperty(notes = "流程步骤ID")
    private Long stepId;

    @ApiModelProperty(notes = "任务编号")
    private Long taskId;

    @ApiModelProperty(notes = "处理意见")
    private String approveType;

    @ApiModelProperty(notes = "意见说明")
    private String approveMemo;

    @ApiModelProperty(notes = "流程节点页面配置信息")
    private List<WflSteppage> pageList;

    @ApiModelProperty(notes = "流程节点审批权限")
    private List<WflApprauthor> appAuthorList;

    @ApiModelProperty(notes = "任务多选时使用选择的审批人")
    private String choiceApproveUserList;
}
